def resolution1():
    H = int(input())
    print("%.1f" % ((H-100)*0.9*2))
    pass


if __name__ == '__main__':
    resolution1()